package com.yin.beans;

import lombok.Getter;
import lombok.Setter;

@Getter @Setter
public class BeanWrapper extends FactoryBean{

    private BeanPostProcessor postProcessor;

    private Object wrapperInstance;

    private Object originalInstance;

    public BeanWrapper(){

    }

    public BeanWrapper(Object instance){

        this.originalInstance = instance;
        this.wrapperInstance = instance;
    }

    public Class getWrapperClass(){
        return this.wrapperInstance.getClass();
    }

}
